<template>
  <el-table
    ref="multipleTable"
    :data="equipmentType"
    style="width: 100%;"
    height="150px"
    stripe
    class="table-list table-fxied-height"
  >
    <el-table-column type="index" label="序号" width="51" align="center" />
    <el-table-column
      prop="equipmentTypeName"
      label="设备类型"
      min-width="100"
      align="center"
      :show-overflow-tooltip="true"
    />
    <el-table-column
      prop="equipmentName"
      label="设备"
      min-width="300"
      align="center"
      :show-overflow-tooltip="true"
    />
  </el-table>
</template>

<script>
export default {
  name: 'AssignedPersonnel',
  props: {
    equipmentType: { // 分配的设备
      type: Array,
      default: () => []
    }
  },
  data() {
    return {
    }
  },
  mounted() {
  },
  methods: {
  }
}
</script>

<style lang='scss' scoped>
.table-fxied-height {
  max-height: 396px; // 最多10条数据
  /*overflow-y: scroll;*/
}
</style>
